//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by Fernflower decompiler)
//

package com.zqxq.common.bo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@ApiModel
public class RequestHeaderBO extends BaseBO {
    @ApiModelProperty(
            value = "APPKEY",
            required = true
    )
    private String appKey;
    @ApiModelProperty(
            value = "来源 ：0-未知；1-安卓；2-苹果；3-h5",
            required = true
    )
    private Integer source;
    @ApiModelProperty(
            value = "渠道:如tencent、360、huawei等，苹果为AppStore",
            required = true
    )
    private String channel;
    @ApiModelProperty("app版本号")
    private String appVersion;
    @ApiModelProperty("手机机器码或clientid,唯一识别码")
    private String clientId;
    @ApiModelProperty("手机型号")
    private String clientModel;
    @ApiModelProperty("操作系统")
    private String clientOs;
    @ApiModelProperty("系统版本")
    private String osVersion;
    @ApiModelProperty("工作网络类型（4G，WIFI等）")
    private String networkType;
    @ApiModelProperty("经度")
    private String lat;
    @ApiModelProperty("纬度")
    private String lng;
    @ApiModelProperty("地区编码")
    private String areaCode;
    @ApiModelProperty("语言编码")
    private String langCode;

    public RequestHeaderBO() {
    }

    public String getAppKey() {
        return this.appKey;
    }

    public Integer getSource() {
        return this.source;
    }

    public String getChannel() {
        return this.channel;
    }

    public String getAppVersion() {
        return this.appVersion;
    }

    public String getClientId() {
        return this.clientId;
    }

    public String getClientModel() {
        return this.clientModel;
    }

    public String getClientOs() {
        return this.clientOs;
    }

    public String getOsVersion() {
        return this.osVersion;
    }

    public String getNetworkType() {
        return this.networkType;
    }

    public String getLat() {
        return this.lat;
    }

    public String getLng() {
        return this.lng;
    }

    public String getAreaCode() {
        return this.areaCode;
    }

    public String getLangCode() {
        return this.langCode;
    }

    public void setAppKey(String appKey) {
        this.appKey = appKey;
    }

    public void setSource(Integer source) {
        this.source = source;
    }

    public void setChannel(String channel) {
        this.channel = channel;
    }

    public void setAppVersion(String appVersion) {
        this.appVersion = appVersion;
    }

    public void setClientId(String clientId) {
        this.clientId = clientId;
    }

    public void setClientModel(String clientModel) {
        this.clientModel = clientModel;
    }

    public void setClientOs(String clientOs) {
        this.clientOs = clientOs;
    }

    public void setOsVersion(String osVersion) {
        this.osVersion = osVersion;
    }

    public void setNetworkType(String networkType) {
        this.networkType = networkType;
    }

    public void setLat(String lat) {
        this.lat = lat;
    }

    public void setLng(String lng) {
        this.lng = lng;
    }

    public void setAreaCode(String areaCode) {
        this.areaCode = areaCode;
    }

    public void setLangCode(String langCode) {
        this.langCode = langCode;
    }

    public boolean equals(Object o) {
        if (o == this) {
            return true;
        } else if (!(o instanceof RequestHeaderBO)) {
            return false;
        } else {
            RequestHeaderBO other = (RequestHeaderBO)o;
            if (!other.canEqual(this)) {
                return false;
            } else {
                label167: {
                    Object this$appKey = this.getAppKey();
                    Object other$appKey = other.getAppKey();
                    if (this$appKey == null) {
                        if (other$appKey == null) {
                            break label167;
                        }
                    } else if (this$appKey.equals(other$appKey)) {
                        break label167;
                    }

                    return false;
                }

                Object this$source = this.getSource();
                Object other$source = other.getSource();
                if (this$source == null) {
                    if (other$source != null) {
                        return false;
                    }
                } else if (!this$source.equals(other$source)) {
                    return false;
                }

                label153: {
                    Object this$channel = this.getChannel();
                    Object other$channel = other.getChannel();
                    if (this$channel == null) {
                        if (other$channel == null) {
                            break label153;
                        }
                    } else if (this$channel.equals(other$channel)) {
                        break label153;
                    }

                    return false;
                }

                Object this$appVersion = this.getAppVersion();
                Object other$appVersion = other.getAppVersion();
                if (this$appVersion == null) {
                    if (other$appVersion != null) {
                        return false;
                    }
                } else if (!this$appVersion.equals(other$appVersion)) {
                    return false;
                }

                label139: {
                    Object this$clientId = this.getClientId();
                    Object other$clientId = other.getClientId();
                    if (this$clientId == null) {
                        if (other$clientId == null) {
                            break label139;
                        }
                    } else if (this$clientId.equals(other$clientId)) {
                        break label139;
                    }

                    return false;
                }

                Object this$clientModel = this.getClientModel();
                Object other$clientModel = other.getClientModel();
                if (this$clientModel == null) {
                    if (other$clientModel != null) {
                        return false;
                    }
                } else if (!this$clientModel.equals(other$clientModel)) {
                    return false;
                }

                label125: {
                    Object this$clientOs = this.getClientOs();
                    Object other$clientOs = other.getClientOs();
                    if (this$clientOs == null) {
                        if (other$clientOs == null) {
                            break label125;
                        }
                    } else if (this$clientOs.equals(other$clientOs)) {
                        break label125;
                    }

                    return false;
                }

                label118: {
                    Object this$osVersion = this.getOsVersion();
                    Object other$osVersion = other.getOsVersion();
                    if (this$osVersion == null) {
                        if (other$osVersion == null) {
                            break label118;
                        }
                    } else if (this$osVersion.equals(other$osVersion)) {
                        break label118;
                    }

                    return false;
                }

                Object this$networkType = this.getNetworkType();
                Object other$networkType = other.getNetworkType();
                if (this$networkType == null) {
                    if (other$networkType != null) {
                        return false;
                    }
                } else if (!this$networkType.equals(other$networkType)) {
                    return false;
                }

                label104: {
                    Object this$lat = this.getLat();
                    Object other$lat = other.getLat();
                    if (this$lat == null) {
                        if (other$lat == null) {
                            break label104;
                        }
                    } else if (this$lat.equals(other$lat)) {
                        break label104;
                    }

                    return false;
                }

                label97: {
                    Object this$lng = this.getLng();
                    Object other$lng = other.getLng();
                    if (this$lng == null) {
                        if (other$lng == null) {
                            break label97;
                        }
                    } else if (this$lng.equals(other$lng)) {
                        break label97;
                    }

                    return false;
                }

                Object this$areaCode = this.getAreaCode();
                Object other$areaCode = other.getAreaCode();
                if (this$areaCode == null) {
                    if (other$areaCode != null) {
                        return false;
                    }
                } else if (!this$areaCode.equals(other$areaCode)) {
                    return false;
                }

                Object this$langCode = this.getLangCode();
                Object other$langCode = other.getLangCode();
                if (this$langCode == null) {
                    if (other$langCode != null) {
                        return false;
                    }
                } else if (!this$langCode.equals(other$langCode)) {
                    return false;
                }

                return true;
            }
        }
    }

    protected boolean canEqual(Object other) {
        return other instanceof RequestHeaderBO;
    }

    public int hashCode() {
        boolean PRIME = true;
        int result = 1;
        Object $appKey = this.getAppKey();
        result = result * 59 + ($appKey == null ? 43 : $appKey.hashCode());
        Object $source = this.getSource();
        result = result * 59 + ($source == null ? 43 : $source.hashCode());
        Object $channel = this.getChannel();
        result = result * 59 + ($channel == null ? 43 : $channel.hashCode());
        Object $appVersion = this.getAppVersion();
        result = result * 59 + ($appVersion == null ? 43 : $appVersion.hashCode());
        Object $clientId = this.getClientId();
        result = result * 59 + ($clientId == null ? 43 : $clientId.hashCode());
        Object $clientModel = this.getClientModel();
        result = result * 59 + ($clientModel == null ? 43 : $clientModel.hashCode());
        Object $clientOs = this.getClientOs();
        result = result * 59 + ($clientOs == null ? 43 : $clientOs.hashCode());
        Object $osVersion = this.getOsVersion();
        result = result * 59 + ($osVersion == null ? 43 : $osVersion.hashCode());
        Object $networkType = this.getNetworkType();
        result = result * 59 + ($networkType == null ? 43 : $networkType.hashCode());
        Object $lat = this.getLat();
        result = result * 59 + ($lat == null ? 43 : $lat.hashCode());
        Object $lng = this.getLng();
        result = result * 59 + ($lng == null ? 43 : $lng.hashCode());
        Object $areaCode = this.getAreaCode();
        result = result * 59 + ($areaCode == null ? 43 : $areaCode.hashCode());
        Object $langCode = this.getLangCode();
        result = result * 59 + ($langCode == null ? 43 : $langCode.hashCode());
        return result;
    }

    public String toString() {
        return "RequestHeaderBO(appKey=" + this.getAppKey() + ", source=" + this.getSource() + ", channel=" + this.getChannel() + ", appVersion=" + this.getAppVersion() + ", clientId=" + this.getClientId() + ", clientModel=" + this.getClientModel() + ", clientOs=" + this.getClientOs() + ", osVersion=" + this.getOsVersion() + ", networkType=" + this.getNetworkType() + ", lat=" + this.getLat() + ", lng=" + this.getLng() + ", areaCode=" + this.getAreaCode() + ", langCode=" + this.getLangCode() + ")";
    }
}
